//
//  PPImageUrl.m
//  PetParadise
//
//  Created by 陈无忌 on 8/28/14.
//  Copyright (c) 2014 whalefin. All rights reserved.
//

#import "PPImageUrl.h"

@implementation PPImageUrl
+(NSURL *)getImageUrl:(NSString *)imgName
{
    NSString *url = [NSString stringWithFormat:@"%@/imgFile?fileName=%@!150",[PPAPIList getAPIList].rootUrl,imgName];
    return [NSURL URLWithString:url];
}

+(NSURL *) getImageUrlOriginal:(NSString *)imgName
{
    NSString *url = [NSString stringWithFormat:@"%@/imgFile?fileName=%@",[PPAPIList getAPIList].rootUrl,imgName];
    return [NSURL URLWithString:url];
}



@end
